<template>
  <div>
    是part哦
    <!-- 接收问号传参 -->
    <!-- $router.query.参数名 -->
    <p>{{ $route.query.name }}--{{$route.query.age}}</p>
    <!-- 接收路径传参 -->
    <!-- $route.params.参数名 -->
    <p>{{ $route.params.name }}--{{ $route.params.age }}--{{ $route.params.username }}</p>
  </div>
</template>

<script>
export default {
  name: "VueRoutePart",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
</style>